﻿@using CashFlow.Db.Entity;
@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/ShopManage/Views/Shared/_Layout.cshtml";
    var userInfo = ViewBag.UserInfo as UserInfoEntity;
    var shopInfo = ViewBag.ShopInfo as ShopInfoEntity;
}
<style type="text/css">
    .shop-table td {
        height: 20px;
        padding: 5px;
        font-size: 16px;
    }

        .shop-table td:nth-child(2n) {
            font-weight: 800;
        }
</style>
<table class="shop-table">
    <tr>
        <td align="right" width="120">店铺名称:</td>
        <td><label>@shopInfo.Name</label></td>
    </tr>
    <tr>
        <td align="right">店长:</td>
        <td><label>@userInfo.Name</label></td>
    </tr>
    <tr>
        <td align="right">店铺编号:</td>
        <td><label>@shopInfo.ShopNo</label></td>
    </tr>
    <tr>
        <td align="right">店铺成立时间:</td>
        <td><label>@shopInfo.CreateTime.ToString("yyyy-MM-dd HH:mm:ss")</label></td>
    </tr>
</table>